package com.whh.permission.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {

    private Integer id;
    private Integer deptId;
    private String username;
    private String password;
    private String realname;
    private String sex;
    private String tel;
    private String email;
    private String avatar;
    private String jobTitle;
    private Integer status;
    private Integer sort;
    private Integer delFlag;
    private Integer createBy;
    private Date updateTime;
    private Date createTime;

    private String dname;

    //角色的集合对象
    private List roleList;

}
